-- GENERATED SPELL FOR [Bonechewer Marauder] --


function spell0_21245(pUnit, Event) --@Snap Kick,n/a--
pUnit:FullCastSpellOnTarget(8646,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_21245', 2311, 1)
end

function Sorts_21245(pUnit, Event)
local choix_sorts_21245 = math.random(0, 0)
if choix_sorts_21245 == 0 then
pUnit:RegisterEvent('spell0_21245', 1, 1)
end
end

function mob21245_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21245', math.random(1500, 3000), 1)
end

function mob21245_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21245_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21245_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21245, 1, 'mob21245_Action')
RegisterUnitEvent(21245, 2, 'mob21245_Leave')
RegisterUnitEvent(21245, 3, 'mob21245_Kill')
RegisterUnitEvent(21245, 4, 'mob21245_Die')
